<?php

	$raisonSocialeClient = $_POST['raisonSocialeClient'];
	$titreResponsableClient = $_POST['titreResponsableClient'];
	$nomResponsableClient = $_POST['nomResponsableClient'];
	$prenomResponsableClient = $_POST['prenomResponsableClient'];
	$ligneDirecteResponsableClient = $_POST['ligneDirecteResponsableClient'];
	$adresse1Client = $_POST['adresse1Client'];
	$adresse2Client = $_POST['adresse2Client'];
	$codePostalClient = $_POST['codePostalClient'];
	$communeClient = $_POST['communeClient'];
	$telephone1Client = $_POST['telephone1Client'];
	$telephone2Client = $_POST['telephone2Client'];
	$faxClient = $_POST['faxClient'];
	$emailClient = $_POST['emailClient'];
	$commentaireClient = $_POST['commentaireClient'];
	echo $commentaireClient;
	//    $dateCreationClient = $_POST['$dateCreationClient'];
	
	
	$sql = "INSERT INTO clients (
	                                raisonSocialeClient,
	                                titreResponsableClient,
	                                nomResponsableClient,
	                                prenomResponsableClient,
	                                ligneDirecteResponsableClient,
	                                adresse1Client,
	                                adresse2Client,
	                                emailClient,
	                                telephone1Client, 
	                                telephone2Client,
	                                faxClient,                             
	                                commentaireClient
	                                ) 
	
	            VALUES (
	                    '$raisonSocialeClient',
	                    '$titreResponsableClient',
	                    '$nomResponsableClient', 
	                    '$prenomResponsableClient',
	                    '$ligneDirecteResponsableClient',
	                    '$adresse1Client',
	                    '$adresse2Client',
	                    '$emailClient',
	                    '$telephone1Client', 
	                    '$telephone2Client',
	                    '$faxClient',
	
	                    '$commentaireClient'    
	                    );";
	
	echo $sql;
	$req = $pdo->prepare($sql);
	$req->execute();
	
